Optional
allowOptional
animatedOptional
blocksWhether the tile event prevents things such as carving, digging, movement, etc.
Optional
canCan the tile event burn when fire is on the same tile as it?
Optional
causesOptional
containerIf this is a doodad/item container, you can set this to true to make the doodad/item considered one where you can only "place items onto" the doodad/item, rather than storing the items within the doodad/item.
placedOnToMessage
preventUsingItemAsContainerInInventory
preventPickingUpDoodadWhenItemsAreInside
Optional
damageOptional
decaynumber of game ticks until decay
Optional
decayOptional
durabilityOptional
excludedPrevents the event from being created on these types
Optional
freezesWhen more than three puddles of water exist on a tile, they create the this terrain type when it is lower than "Cold" on the tile.
Optional
graphicOptional
imageThe number of alternate textures that this image has. Not supported for most things.
Optional
imageA replacement image to use. Used in modding.
Optional
internalSet to true when we don't want to load a graphic or show tooltips for the event.
Optional
isOptional
isWhether this is a "minor" tile event. Minor tile events are rendered as faded, small text in tooltips rather than large headings.
Optional
isOptional
isOptional
itemsOptional
lightOptional
lightOptional
meltsWhen more than three puddles of water exist on a tile, they create the this terrain type.
Optional
modDo not provide or modify this value, only reference it. This is set by the modding system during the process of registration.
Optional
particlesOptional
pickOptional
preservationChance that things will decay inside it
Optional
providesOptional
renderOptional
renderOptional
skillOptional
spawnOptional
spreadOptional
storeSet to true if we want to store decay, but not have it active (in the case of torches)
Optional
tileIf set to true, tile items will appear in a circle around the tile event instead of over top of it.
Optional
waterIs the event made of water? These can put out fires if they are on the same tile as them.
Optional
weightcontainer maximum weight
Optional
canOptional
createOptional
getGets the temperature produced by this tile event. Positive values are "heat", negative values are "cold".
Refer to the values of the Temperature
enum to see the possible range.
If this method is not implemented, or it returns undefined
, Temperature.Neutral
is used.
Optional
tileEvent: defaultOptional
removeOptional
updateGenerated using TypeDoc
Allow multiple of the same type of tile event to be placed on top of each other.